<div id='rightControl'>
    <div id='divMembers'>  
    <h3><?=$info['group_name']. ' members'?></h3>    
    <?php
    echo'<ul>';
    $ctr=0;
    foreach ($members as $member)
        {
         $className = ($ctr%2==0)?'BGDark':'BGLight';
         
         
         if($info['group_leader_id'] === $member['member_id'])
         {
           $position = '| leader';    
         }
         else if($info['group_deputy_id'] === $member['member_id'])
         {
           $position = '| co-leader';   
         }
         else
         {
           $position = '';    
         }
         
         
         echo'<li class="memberContainer '.$className.'" style="">';
         echo'<img src="'.USER_THUMB.$member['photo'].'" class="tinyPhoto" style="float:left;" />';
         echo'<span id="memberName">'.$member['name']." ".$position.'</span><br />';
         echo'<span class="date">added:'.$this->date->format($member['date_added'],STANDARD_DATE).'</span>';
         echo'</li>';
         $ctr++;
        }
    echo'</ul>';    
    ?>
    </div>
</div>
